def Fac(n):
    if n==2:
        return 2
    if n==1:
        return 1

    return n*Fac(n-1)

num=Fac(3)
print(num)